269. Araxis Merge File Comparison Report

Produced by Araxis Merge on 2021-05-13 09:09:04 +0000. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.

269.1 Files compared

#LocationFileLast Modified
1/Applications/Ampps/www/Porto 3.2.2/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Theme/web/css/source_module.less2019-12-13 07:49:24 +0000
2/Applications/Ampps/www/Porto v4.0.0/Theme Files/Magento 2.x/Porto Theme/app/design/frontend/Smartwave/porto/Magento_Theme/web/css/source_module.less2021-05-04 03:17:24 +0000

269.2 Comparison summary

DescriptionBetween
Files 1 and 2
Text BlocksLines
Unchanged641264
Changed40295
Inserted430
Removed19220

269.3 Comparison options

WhitespaceConsecutive whitespace is treated as a single space
Character caseDifferences in character case are significant
Line endingsDifferences in line endings (CR and LF characters) are ignored
CR/LF charactersNot shown in the comparison detail
Active line-pairing rules

269.4 Active regular expressions

No regular expressions were active.

269.5 Comparison detail

1 // /** 1 // /**
2 //  * Copyright © 2015 Magento. All rights reserved. 2 //  * Copyright © 2015 Magento. All rights reserved.
3 //  * See COPYING.txt for license details. 3 //  * See COPYING.txt for license details.
4 //  */ 4 //  */
5  5 
6 @import 'module/_collapsible_navigation.less'; 6 @import 'module/_collapsible_navigation.less';
7  7 @import 'module/_heading.less';
    8 @import 'module/_info_box.less';
    9 @import 'module/_social_icons.less';
    10 @import 'module/_testimonial.less';
8 // 11 //
9 //  Theme variables 12 //  Theme variables
10 //  _____________________________________________ 13 //  _____________________________________________
11  14 
12 // 15 //
13 //  Messages 16 //  Messages
14 //  --------------------------------------------- 17 //  ---------------------------------------------
15  18 
16 @message-global-note__color: @text__color; 19 @message-global-note__color: @text__color;
17 @message-global-note__background: @color-yellow-light2; 20 @message-global-note__background: @color-yellow-light2;
18 @message-global-note-link__color: @link__color; 21 @message-global-note-link__color: @link__color;
19 @message-global-note-link__color-hover: @link__hover__color; 22 @message-global-note-link__color-hover: @link__hover__color;
20 @message-global-note-link__color-active: @link__active__color; 23 @message-global-note-link__color-active: @link__active__color;
21 @message-global-note__border-color: @color-yellow-light3; 24 @message-global-note__border-color: @color-yellow-light3;
22  25 
23 @message-global-caution__color: @color-white; 26 @message-global-caution__color: @color-white;
24 @message-global-caution__background: @color-red9; 27 @message-global-caution__background: @color-red9;
25 @message-global-caution-link__color: @link__color; 28 @message-global-caution-link__color: @link__color;
26 @message-global-caution-link__color-hover: @link__hover__color; 29 @message-global-caution-link__color-hover: @link__hover__color;
27 @message-global-caution-link__color-active: @link__active__color; 30 @message-global-caution-link__color-active: @link__active__color;
28 @message-global-caution__border-color: none; 31 @message-global-caution__border-color: none;
29  32 
30 @customer-welcome__z-index: @dropdown-list__z-index + 1; 33 @customer-welcome__z-index: @dropdown-list__z-index + 1;
31  34 
32 @addto-color: @color-gray60; 35 @addto-color: @color-gray60;
33 @addto-hover-color: @primary__color; 36 @addto-hover-color: @primary__color;
34  37 
35 @price-color: @color-gray34; 38 @price-color: @color-gray34;
36 @price-size: 22px; 39 @price-size: 22px;
37 @price-size-desktop: 36px; 40 @price-size-desktop: 36px;
38  41 
39 @button__shadow: inset 0 1px 0 0 rgba(255, 255, 255, 1), inset 0 -1px 0 0 fade(@border-color__base, 30); //  Used for secondary button and catalog toolbar controls 42 @button__shadow: inset 0 1px 0 0 rgba(255, 255, 255, 1), inset 0 -1px 0 0 fade(@border-color__base, 30); //  Used for secondary button and catalog toolbar controls
40 @button__shadow-active: inset 0 1px 0 0 fade(@border-color__base, 80), inset 0 -1px 0 0 fade(@border-color__base, 30); //  Used for secondary button and catalog toolbar controls 43 @button__shadow-active: inset 0 1px 0 0 fade(@border-color__base, 80), inset 0 -1px 0 0 fade(@border-color__base, 30); //  Used for secondary button and catalog toolbar controls
41  44 
42 @h1__margin-bottom__desktop: @indent__xl; 45 @h1__margin-bottom__desktop: @indent__xl;
43  46 
44 // 47 //
45 //  Footer 48 //  Footer
46 //  --------------------------------------------- 49 //  ---------------------------------------------
47  50 
48 @footer__background-color: @color-gray-light01; 51 @footer__background-color: @color-gray-light01;
49 @footer-links-separator-border-color: @color-gray-light4; 52 @footer-links-separator-border-color: @color-gray-light4;
50 @footer-links-color: @color-gray34; 53 @footer-links-color: @color-gray34;
51 @footer-links-color-hover: @color-gray20; 54 @footer-links-color-hover: @color-gray20;
52 @footer-links-color-current: @primary__color__light; 55 @footer-links-color-current: @primary__color__light;
53  56 
54 // 57 //
55 //  Layered navigation 58 //  Layered navigation
56 //  --------------------------------------------- 59 //  ---------------------------------------------
57  60 
58 @filter-title-background-color: @color-gray94; 61 @filter-title-background-color: @color-gray94;
59 @filter-link: @color-gray-darken4; 62 @filter-link: @color-gray-darken4;
60 @filter-link-hover: darken(@filter-link, 30%); 63 @filter-link-hover: darken(@filter-link, 30%);
61 @filter-quantity: @color-gray52; 64 @filter-quantity: @color-gray52;
62  65 
63 // 66 //
64 //  Common 67 //  Common
65 //  _____________________________________________ 68 //  _____________________________________________
66  69 
67 & when (@media-common = true) { 70 & when (@media-common = true) {
68     body { 71     body {
69         .lib-css(background-color, @page__background-color); 72         .lib-css(background-color, @page__background-color);
70     } 73     }
71  74 
72     //  ToDo UI: move it directly to .page-wrapper (now it doesn't appear in mediaquery cuz of size of css) 75     //  ToDo UI: move it directly to .page-wrapper (now it doesn't appear in mediaquery cuz of size of css)
73     .page-wrapper { 76     .page-wrapper {
74         .ie9 & { 77         .ie9 & {
75             .lib-css(background-color, @page__background-color); 78             .lib-css(background-color, @page__background-color);
76             min-height: 0; 79             min-height: 0;
77         } 80         }
78     } 81     }
79      82 
80     .columns .column.main { 83     .columns .column.main {
81         max-width: 100%; 84         max-width: 100%;
    85         padding-bottom: 40px;
82     } 86     }
83  87 
84     // 88     //
85     //  Header 89     //  Header
86     //  --------------------------------------------- 90     //  ---------------------------------------------
87  91 
88     .page-header { 92     .page-header {
89         .lib-css(background-color, @header__background-color); 93         .lib-css(background-color, @header__background-color);
90         .lib-css(border-top, 3px solid @header__border-color); 94         .lib-css(border-top, 3px solid @header__border-color);
91         position: relative; 95         position: relative;
92         z-index: 4; 96         z-index: 20;
93             
94         .panel.wrapper { 97         .panel.wrapper {
95             .lib-css(background-color, @header-panel__background-color);    
96             .lib-css(color, @header-panel__text-color); 98             .lib-css(color, @header-panel__text-color);
97         } 99         }
98         &.header-newskin {    
99             .minicart-wrapper {    
100                 position: relative;    
101                 width: 58px;    
102                 vertical-align: middle;    
103                 margin-left: 15px;    
104                 margin-right: 0;    
105     
106                 .action.close {    
107                     top: 5px;    
108                 }    
109                 .action.showcart {    
110                     position: relative;    
111                     padding: 0 25px 0 0;    
112                     line-height: 31px;    
113                 }    
114                 .action.showcart:before,    
115                 .action.showcart.active:before {    
116                     content: '\e87f';    
117                     font-size: 29px;    
118                     line-height: 32px;    
119                 }    
120                 .action.showcart:after {    
121                     content: "\f803";    
122                     font-family: 'porto-icons';    
123                     position: absolute;    
124                     right: 0;    
125                     top: 1px;    
126                     -webkit-font-smoothing: antialiased;    
127                 }    
128                 .action.showcart .counter.qty {    
129                     width: 16px;    
130                     height: 16px;    
131                     display: block;    
132                     font-size: 10px;    
133                     color: #fff;    
134                     background-color: #ed5348;    
135                     text-align: center;    
136                     line-height: 16px;    
137                     border-radius: 20px;    
138                     min-width: auto;    
139                     left: auto;    
140                     right: 16px;    
141                     margin-top: -16px;    
142                 }    
143             }    
144             &.sticky-header .minicart-wrapper {    
145                 .action.showcart {    
146                     line-height: 40px;    
147                 }    
148                 .action.showcart:before,    
149                 .action.showcart.active:before {    
150                     line-height: 39px;    
151                 }    
152             }    
153         }    
154     } 100     }
155  101 
156     .header.panel { 102     .header.panel {
157         > .header.links { 103         > .header.links {
158             .lib-list-inline(); 104             .lib-list-inline();
159             float: right; 105             float: right;
160             font-size: 0;    
161             margin-left: auto; 106             margin-left: auto;
162             margin-right: @indent__base; 107             margin-right: @indent__base;
163             > li { 108             > li {
164                 font-size: 11px;    
165                 text-transform: uppercase; 109                 text-transform: uppercase;
166                 > a { 110                 > a {
167                     .lib-link( 111                     .lib-link(
168                     @_link-color: @header-panel__text-color, 112                     @_link-color: inherit,
169                     @_link-text-decoration: none, 113                     @_link-text-decoration: none,
170                     @_link-color-visited@header-panel__text-color, 114                     @_link-color-visitedinherit,
171                     @_link-text-decoration-visited: none, 115                     @_link-text-decoration-visited: none,
172                     @_link-color-hover: @header-panel__text-color, 116                     @_link-color-hover: inherit,
173                     @_link-text-decoration-hover: underline, 117                     @_link-color-active: inherit,
174                     @_link-color-active: @header-panel__text-color,    
175                     @_link-text-decoration-active: underline    
176                     ); 118                     );
177                 } 119                 }
178             } 120             }
179         } 121         }
180     } 122     }
181  123 
182     .header { 124     .header {
183         &.content:extend(.abs-add-clearfix all) { 125         &.content:extend(.abs-add-clearfix all) {
184             position: relative; 126             position: relative;
185         } 127         }
186     } 128     }
187  129 
188     .logo { 130     .logo {
189         display: inline-block; 131         display: 
block;
190         vertical-align: middle;    
191         margin: 30px 0;    
192         max-width: 50%;    
193         position: relative; 132         position: relative;
194         z-index: 5; 133         z-index: 5;
195         img { 134         img {
196             display: block; 135             display: block;
197             max-height: 50px; 136             max-height: 50px;
198             max-width: 100%; 137             max-width: 100%;
    138             height: auto;
199         } 139         }
200         .page-print & { 140         .page-print & {
201             display: inline-block; 141             display: inline-block;
202             float: none; 142             float: none;
203         } 143         }
204     } 144     }
205  145 
206     .page-main { 146     .page-main {
207         > .page-title-wrapper { 147         > .page-title-wrapper {
208             .page-title + .action { 148             .page-title + .action {
209                 margin-top: @indent__l; 149                 margin-top: @indent__l;
210             } 150             }
211         } 151         }
212     } 152     }
213  153 
214     .action.skip { 154     .action.skip {
215         &:not(:focus) { 155         &:not(:focus) {
216             &:extend(.abs-visually-hidden all); 156             &:extend(.abs-visually-hidden all);
217         } 157         }
218         &:focus { 158         &:focus {
219             .lib-css(background, @color-gray94); 159             .lib-css(background, @color-gray94);
220             .lib-css(padding, @indent__s); 160             .lib-css(padding, @indent__s);
221             box-sizing: border-box; 161             box-sizing: border-box;
222             left: 0; 162             left: 0;
223             position: absolute; 163             position: absolute;
224             text-align: center; 164             text-align: center;
225             top: 0; 165             top: 0;
226             width: 100%; 166             width: 100%;
227             z-index: 15; 167             z-index: 15;
228         } 168         }
229     } 169     }
230  170 
231     // 171     //
232     //  Global notice 172     //  Global notice
233     //  --------------------------------------------- 173     //  ---------------------------------------------
234  174     .message {
    175       &.success {
    176         border-radius: 0;
    177         font-size: 1em;
    178       }
    179       &.notice {
    180         font-size: 1em;
    181       }
    182       &.info{
    183         font-size: 1em;
    184       }
    185       &.error {
    186         font-size: 1em;
    187       }
    188       &.warning {font-size: 1em;}
    189     }
    190     .field-error {
    191       font-size: 1em;
    192     }
235     .message.global { 193     .message.global {
236         p { 194         p {
237             margin: 0; 195             margin: 0;
238         } 196         }
239         &.noscript, 197         &.noscript,
240         &.cookie { 198         &.cookie {
241             .lib-message(@_message-type: global-note); 199             .lib-message(@_message-type: global-note);
242             margin: 0; 200             margin: 0;
243         } 201         }
244         &.cookie { 202         &.cookie {
245             bottom: 0; 203             bottom: 0;
246             left: 0; 204             left: 0;
247             position: fixed; 205             position: fixed;
248             right: 0; 206             right: 0;
249             z-index: 3; 207             z-index: 3;
250             .actions { 208             .actions {
251                 margin-top: @indent__s; 209                 margin-top: @indent__s;
252             } 210             }
253         } 211         }
254         &.demo { 212         &.demo {
255             .lib-message(@_message-type: global-caution); 213             .lib-message(@_message-type: global-caution);
256             margin-bottom: 0; 214             margin-bottom: 0;
257             text-align: center; 215             text-align: center;
258         } 216         }
259     } 217     }
260  218 
261     .page-header, 219     .page-header,
262     .page-footer { 220     .page-footer {
263         .switcher { 221         .switcher {
264             height: 15px;    
265             .options { 222             .options {
266                 .lib-dropdown( 223                 .lib-dropdown(
267                     @_dropdown-actions-padding: 0, 224                     @_dropdown-actions-padding: 0,
268                     @_dropdown-list-item-padding: 0, 225                     @_dropdown-list-item-padding: 0,
269                     @_dropdown-toggle-icon-content: @icon-down, 226                     @_dropdown-toggle-icon-content: @icon-down,
270                     @_dropdown-toggle-active-icon-content: @icon-up, 227                     @_dropdown-toggle-active-icon-content: @icon-up,
271                     @_icon-font-text-hide: true, 228                     @_icon-font-text-hide: true,
272                     @_icon-font-margin: 0 0 0 5px, 229                     @_dropdown-list-min-width: 120px,
273                     @_icon-font-size: 16px,    
274                     @_icon-font-line-height: 15px,    
275                     @_dropdown-list-min-width: 160px,    
276                     @_dropdown-list-border: 0 230                     @_dropdown-list-border: 0
277                 ); 231                 );
278                 ul.dropdown { 232                 ul.dropdown {
279                     border-radius: 3px; 233                     border-radius: 0;
280                     box-shadow: 0 0 3px rgba(0,0,0,0.25); 234                     box-shadow: 0 10px 30px 10px rgba(0,0,0,
.05);
281                     left: -10px; 235                     border: 1px solid #ccc !important;
    236                     padding: 4px 0 !important;
    237                     left: 0;
282                     li { 238                     li {
283                         border-radius: 3px; 239                         border-radius: 0;
284                     } 240                     }
285                     a { 241                     a {
286                         display: block; 242                         display: block;
287                         padding: 8px 10px;    
288                         color: @base-font-color; 243                         color: @base-font-color;
289                         font-size: 11px; 244                         padding: 0 7px;
290                          245                         font-size: 1em;
    246                         line-height: 25px;
    247                         font-weight: 400;
291                         & > img { 248                         & > img {
292                             margin-bottom: 3px; 249                             margin-bottom: 3px;
293                             margin-right: 3px; 250                             margin-right: 3px;
294                             vertical-align: middle; 251                             vertical-align: middle;
295                         } 252                         }
296                         &:hover { 253                         &:hover {
297                             text-decoration: none; 254                             text-decoration: none;
298                         } 255                         }
299                     } 256                     }
300                 } 257                 }
    258                 .action.toggle {
    259                   display: flex;
    260                   align-items: center;
    261                   padding: 0 5px;
    262                   line-height: 26px;
    263                   letter-spacing: 0.025em;
    264                   &::after {
    265                     font-size: 1em;
    266                     -webkit-font-smoothing: inherit;
    267                     margin: 0 0 0 5px;
    268                     line-height: 1;
    269                   }
    270                   &.active {
    271                       display: flex;
    272                       align-items: center;
    273                       &::after {
    274                         font-size: 1em;
    275                         -webkit-font-smoothing: inherit;
    276                         margin: 0 0 0 5px;
    277                         line-height: 1;
    278                       }
    279                   }
    280                 }
301             } 281             }
302             strong { 282             strong {
303                 font-weight: @font-weight__regular; 283                 font-weight: inherit;
304                 line-height: 15px;    
305                 font-size: 11px;    
306                 vertical-align: top;    
307                 display: inline-block;    
308                     
309                 & > img { 284                 & > img {
310                     margin-bottom: 3px; 285                     margin-bottom: 3px;
311                     margin-right: 3px; 286                     margin-right: 3px;
312                     vertical-align: middle; 287                     vertical-align: middle;
313                 } 288                 }
314             } 289             }
315             .label:extend(.abs-visually-hidden all) { 290             .label:extend(.abs-visually-hidden all) {
316             } 291             }
317         } 292         }
318     } 293     }
319     span.split { 294     span.split {
320         height: 14px; 295         height: 14px;
321         width: 1px; 296         width: 1px;
322         border-right: 1px solid #ccc; 297         border-right: 1px solid #ccc;
323         margin: 0 13px; 298         margin: 0 13px;
324     } 299     }
325 } 300 }
326  301 
327 // 302 //
328 //  Navigation 303 //  Navigation
329 //  --------------------------------------------- 304 //  ---------------------------------------------
330  305 
331 .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { 306 @media(max-width: 991px){
332     .customer-name,    
333     .customer-welcome + .authorization-link {    
334         display: none;    
335     }    
336     .nav-sections .switcher-trigger strong:after { 307     .nav-sections .switcher-trigger strong:after {
337         .lib-font-size(16); 308         .lib-font-size(16);
338         right: -25px; 309         right: -25px;
339         top: 2px; 310         top: 2px;
340     } 311     }
341     .navigation .parent .level-top:after { 312     .navigation .parent .level-top:after {
342         .lib-font-size(22); 313         .lib-font-size(22);
343         right: 10px; 314         right: 10px;
344         top: 13px; 315         top: 13px;
345     } 316     }
346     .mobile-sticky { 317     header.page-header.sticky-header .header-main{
347         header.page-header
 
{
    
348             position: fixed; 318         position: fixed;
349             width: 100%; 319         width: 100%;
350             top: 0; 320         top: 0;
351             box-shadow: 0 0px 5px rgba(0,0,0,0.3); 321         box-shadow: 0 1px 0 0 rgba(0,0,0,
.06);
352         } 322         background-color: #fff;
353         .page-main { 323         z-index: 9;
354             margin-top: 64px;    
355         }    
356     }    
357     .page-header.header-newskin {    
358         .minicart-wrapper {    
359             position: relative;    
360             top: auto;    
361             right: auto;    
362             left: auto;    
363             margin: 0;    
364             float: right;    
365             margin-right:-17px;    
366         }    
367         .minicart-wrapper .action.showcart:before,    
368         .minicart-wrapper .action.showcart.active:before {    
369             font-size: 28px;    
370             line-height: 40px;    
371         }    
372         .minicart-wrapper .action.showcart {    
373             line-height: 40px;    
374         } 324     }
    325 }
    326 @media(max-width: 991px){
    327   .nav-sections .customer-welcome,
    328   .nav-sections .customer-welcome + .authorization-link {
    329       display: none;
375     } 330   }
376 } 331 }
377     
378 // 332 //
379 //  Common 333 //  Common
380 //  _____________________________________________ 334 //  _____________________________________________
381  335 
382 & when (@media-common = true) { 336 & when (@media-common = true) {
383  337 
384     // 338     //
385     //  Widgets 339     //  Widgets
386     //  --------------------------------------------- 340     //  ---------------------------------------------
387  341 
388     .sidebar { 342     .sidebar {
389         .widget.block:not(:last-child), 343         .widget.block:not(:last-child),
390         .widget:not(:last-child) { 344         .widget:not(:last-child) {
391             margin-bottom: @indent__xl; 345             margin-bottom: @indent__xl;
392         } 346         }
393     } 347     }
394  348 
395     .widget { 349     .widget {
396         clear: both; 350         clear: both;
397         .block-title:extend(.abs-block-widget-title all) { 351         .block-title:extend(.abs-block-widget-title all) {
398         } 352         }
399     } 353     }
400 } 354 }
401  355 
402 // 356 //
403 //  Desktop 357 //  Desktop
404 //  _____________________________________________ 358 //  _____________________________________________
405  359 & when (@media-common = true) {
406 .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__m) { 360   .customer-welcome {
    361       .lib-dropdown(
    362           @_toggle-selector: ~".action.switch",
    363           @_options-selector: ~"ul",
    364           @_dropdown-actions-padding: 0,
    365           @_dropdown-list-item-padding: 0,
    366           @_dropdown-toggle-icon-content: @icon-down,
    367           @_dropdown-toggle-active-icon-content: @icon-up,
    368           @_icon-font-text-hide: true,
    369           @_icon-font-margin: 0 0 0 5px,
    370           @_icon-font-size: 16px,
    371           @_icon-font-line-height: 15px,
    372           @_dropdown-list-border: 0,
    373           @_dropdown-list-z-index: @customer-welcome__z-index
    374       );
    375       li:extend(.switcher li all) {
    376           a {
    377               .lib-link(
    378               @_link-color: @color-gray20,
    379               @_link-text-decoration: none,
    380               @_link-color-visited: @color-gray20,
    381               @_link-text-decoration-visited: none,
    382               @_link-color-hover: @color-gray20,
    383               @_link-text-decoration-hover: none,
    384               @_link-color-active: @color-gray20,
    385               @_link-text-decoration-active: none
    386               );
    387               display: block;
    388               line-height: 1.2;
    389               padding: 5px;
    390               text-transform: capitalize;
    391               font-weight: 400;
    392               font-size: 12px;
    393           }
    394       }
    395       .customer-menu {
    396           display: none;
    397       }
    398       .action.switch {
    399           .lib-button-reset();
    400           vertical-align: top;
    401       }
    402       .header.links {
    403           min-width: 175px;
    404           box-shadow: 0 0 3px rgba(0,0,0,0.25);
    405           border-radius: 3px;
    406           margin-top: 7px;
    407           left: auto;
    408           right: 0;
    409           &:before {
    410               left: auto;
    411               right: 10px;
    412           }
    413           &:after {
    414               left: auto;
    415               right: 9px;
    416               border-bottom-color: #ccc;
    417           }
    418       }
    419       &.active {
    420           .action.switch {
    421               .lib-icon-font-symbol(
    422               @_icon-font-content: @icon-up,
    423               @_icon-font-position: after
    424               );
    425           }
    426           .customer-menu {
    427               display: block;
    428           }
    429       }
    430       .greet {
    431           display: none;
    432       }
    433   }
    434 }
    435 @media(min-width: 992px) {
407     html, 436     html,
408     body { 437     body {
409         min-height: 100%; //  Stretch screen area for sticky footer 438         min-height: 100%; //  Stretch screen area for sticky footer
410     } 439     }
411  440 
412     body { 441     body {
413         .ie9 & { 442         .ie9 & {
414             .lib-css(background-color, @copyright__background-color); 443             .lib-css(background-color, @copyright__background-color);
415         } 444         }
416     } 445     }
417     .customer-menu .header.links a { 446     .customer-menu .header.links a {
418         color: #777 !important; 447         color: #777 !important;
419     } 448     }
420      449 
421     .sticky-logo { 450     .sticky-logo {
422         float: left; 451         float: left;
423      452         margin-top: 13px;
    453         margin-right: 20px;
424         .logo { 454         .logo {
425             margin: 0 !important; 455             margin: 0 !important;
426          456 
427             img { 457             img {
428                 height: 30px; 458                 height: 35px;
429                 width: auto; 459                 width: auto;
430                 max-width: none; 460                 max-width: none;
431                 margin-right: 20px; 461                 margin-right: 20px;
432             } 462             }
433         } 463         }
434     } 464     }
435      465 
436     header.page-header.sticky-header { 466     header.page-header.sticky-header {
437         .nav-sections { 467         .nav-sections {
438             position: fixed !important; 468             position: fixed !important;
439             left: 0 !important; 469             left: 0 !important;
440             top: 0 !important; 470             top: 0 !important;
441             z-index: 200 !important; 471             z-index: 200 !important;
442             margin: 0 !important; 472             margin: 0 !important;
443             padding: 0; 473             padding: 0;
444             margin: 0 !important; 474             margin: 0 !important;
445             width: 100% !important; 475             width: 100% !important;
446             box-shadow: 0 1px 2px rgba(0,0,0,0.1); 476             box-shadow: 0 1px 2px rgba(0,0,0,0.1);
447             -webkit-backface-visibility: hidden; 477             -webkit-backface-visibility: hidden;
448             backface-visibility: hidden; 478             backface-visibility: hidden;
449             pointer-events: all; 479             pointer-events: all;
450         } 480         }
451         .navigation { 481         .navigation {
452             padding: 0 15px; 482             padding: 0 10px;
453              483 
454             & > ul { 484             & > ul {
455                 background-color: transparent; 485                 background-color: transparent;
456             } 486             }
457             li.level0 { 487             li.level0 {
458                 & > .level-top {    
459                     padding: 0 15px;    
460                     line-height: 30px;    
461                 }    
462                 &.parent > a:after {    
463                     line-height: 30px;    
464                 }    
465                 & > a > span.cat-label { 488                 & > a > span.cat-label {
466                     top: -9px; 489                     top: -9px;
467                 } 490                 }
468             } 491             }
469         } 492         }
470         .minicart-wrapper { 493         .minicart-wrapper {
471             position: absolute; 494             position: absolute;
472             right: 15px; 495             right: 10px;
473             top: 50%; 496             top: 50%;
474             margin-top: -20px; 497             transform: translateY(-50%);
475         } 498         }
476          499 
477     } 500     }
478     .page-header { 501     .page-header {
479         margin-bottom: 0; 502         margin-bottom: 0;
480         .panel.wrapper {    
481             .lib-css(background-color, @header-panel__background-color);    
482         }    
483         .header.panel:extend(.abs-add-clearfix-desktop all) { 503         .header.panel:extend(.abs-add-clearfix-desktop all) {
484             padding-bottom: 11px; 504             padding
:0;
485             padding-top: 10px;    
486         } 505         }
487         .switcher { 506         .switcher {
488             float: left; 507             float: left;
489             margin-right: 15px; 508             margin-right: 15px;
490             .lib-vendor-prefix-order(1); 509             .lib-vendor-prefix-order(1);
491         } 510         }
492         .navigation { 511         .navigation {
493             .level0 { 512             .level0 {
494                 & > .level-top { 513                 & > .level-top {
495                     text-transform: uppercase; 514                     text-transform: uppercase;
496                     display: inline-block; 515                     display: inline-block;
497                 } 516                 }
498                 &.parent > a:after { 517                 &.parent > a:after {
499                     content: @icon-down-open; 518                     content: @icon-down-open;
500                     display: inline-block; 519                     display: inline-block;
501                     font-family: @icons__font-name; 520                     font-family: @icons__font-name;
502                     vertical-align: top; 521                     vertical-align: top;
503                     margin-left: 6px; 522                     margin-left: 5px;
504                     line-height: 42px; 523                     line-height: 42px;
505                 } 524                 }
506                 .submenu { 525                 .submenu {
507                     border-top-width: 5px; 526                     padding: 10px;
508                     padding: 6px 8px; 527                     box-shadow: 0 10px 25px rgba(0,0,0,
.15);
509                     box-shadow: 0 0 3px rgba(0,0,0,0.25);    
510                     border-radius: 0 6px 6px 6px;    
511                     li { 528                     li {
512                         margin-bottom: 0; 529                         margin-bottom: 0;
513                         position: relative; 530                         position: relative;
514                     } 531                     }
515                     .submenu { 532                     .submenu {
516                         border-top-width: 0; 533                         border-top-width: 0;
517                         margin-top: -6px !important; 534                         margin-top: -6px !important;
518                         margin-left: 8px !important; 535                         margin-left: 8px !important;
519                     } 536                     }
520                     li.parent > a:after { 537                     li.parent > a:after {
521                         content: @icon-right-open; 538                         content: @icon-right-open;
522                         display: inline-block; 539                         display: inline-block;
523                         font-family: @icons__font-name; 540                         font-family: @icons__font-name;
524                         vertical-align: top; 541                         vertical-align: top;
525                         margin-left: 6px; 542                         margin-left: 6px;
526                         margin-right: 5px; 543                         margin-right: 0;
527                         line-height: 15px; 544                         line-height: 15px;
528                         float: right; 545                         float: right;
529                     } 546                     }
530                     .active > a { 547                     .active > a {
531                         border: 0; 548                         border: 0;
532                     } 549                     }
533                 } 550                 }
534             } 551             }
535         } 552         }
536         .drop-menu { 553         .drop-menu {
537             position: relative; 554             position: relative;
538             text-align: left;    
539             float: left;    
540             width: 25%;    
541             min-width: 250px;    
542             padding: 0 15px;    
543                 
544             .nav-sections { 555             .nav-sections {
545                 position: absolute; 556                 position: absolute;
546                 top: 100%; 557                 top: 100%;
547                 left: 15px; 558                 left: 0;
548                 width: 100%;    
549                 width: calc(~"100% - 30px");    
550                 background-color: #fff;    
551                 box-shadow: 0 0 20px rgba(0,0,0,0.4);    
552                 border-bottom: 5px solid #303030;    
553                 visibility: hidden;    
554                 opacity: 0;    
555             }    
556                 
557             > a {    
558                 color: #fff;    
559                 background-color: #303030;    
560                 padding: 14px 15px;    
561                 width: 100%; 559                 width: 100%;
562                 font-size: 13px;    
563                 font-weight: 700;    
564                 display: block;    
565                 line-height: 1;    
566                 text-decoration: none;    
567                     
568                 &:hover {    
569                     background-color: #777;    
570                     color: #fff;    
571                 }    
572             }    
573             & + .custom-menu-block {    
574                 display: inline-block;    
575                 line-height: 41px;    
576                 width: auto;    
577                 float: left;    
578                     
579                 a {    
580                     padding: 0 14px;    
581                     font-size: 12px;    
582                     font-weight: 600;    
583                     color: #777;    
584                     white-space: nowrap;    
585                 }    
586             }    
587         }    
588         &.header-newskin {    
589             &.sticky-header .nav-sections {    
590                 background-color: #fff; 560                 background-color: #fff;
591             } 561                 border: 1px solid #e7e7e7;
592             .nav-sections {pointer-events: none;}    
593             .navigation .level0 {    
594                 margin-right: 3px;    
595                 color: #161616;    
596                 text-align: left;    
597                 pointer-events: all;    
598             }    
599             .navigation .level0 > .level-top {    
600                 color: inherit;    
601                 padding: 0 12px;    
602                 line-height: 42px;    
603                 font-size: 13px;    
604                 font-weight: 400;    
605                 letter-spacing: 0.025em;    
606             }    
607             .navigation li.level0.parent a.level-top:before {    
608                 content: "";    
609                 width: 10px;    
610                 height: 10px;    
611                 border: 7px solid transparent;    
612                 border-bottom-color: #fff;    
613                 position: absolute;    
614                 left: 50%;    
615                 margin-left: -8px;    
616                 top: 100%;    
617                 margin-top: -14px;    
618                 visibility: hidden; 562                 visibility: hidden;
619                 opacity: 0; 563                 opacity: 0;
620                 transition: all 0.1s; 564                 &.visible {
621             }    
622             .navigation:not(.side-megamenu) li.level0.parent:hover a.level-top:before {    
623                 visibility: visible; 565                   visibility: visible;
624                 opacity: 1; 566                   opacity: 1;
625             } 567                 }
626             .navigation .level0 .submenu {    
627                 border-top-width: 0;    
628                 box-shadow: 0 7px 10px -2px rgba(0,0,0,0.25);    
629             } 568             }
630             .navigation li.level0.fullwidth .submenu li.level1 > a, 569             > a {
631             .navigation li.level0.staticwidth .submenu li.level1 > a { 570                 display: block;
632                 font-size: 13px; 571                 font-size: 14px;
    572                 letter-spacing: -.01em;
633                 font-weight: 700; 573                 font-weight: 700;
634                 margin-bottom: 4px; 574                 background: #222529;
635                 color: #434d53; 575                 color: #fff;
636                 padding: 0 5px; 576                 line-height: 20px;
    577                 padding: 15px 15px 15px 20px;
    578                 &:hover {
    579                     background-color: #555;
637             } 580                 }
638             .navigation li.level0.fullwidth .submenu a,    
639             .navigation li.level0.classic .submenu a,    
640             .navigation li.level0.staticwidth .submenu a {    
641                 font-size: 12px;    
642                 font-weight: 600;    
643                 line-height: 24px;    
644                 text-transform: uppercase;    
645             } 581             }
646         } 582         }
647     } 583     }
648     .cms-index-index .page-header { 584     .cms-index-index .page-header {
649         .drop-menu { 585         .drop-menu {
650             > a { 586             > a {
651                 pointer-events: none; 587                 pointer-events: none;
652             } 588             }
653             .nav-sections { 589             .nav-sections {
654                 visibility: visible; 590                 visibility: visible;
655                 opacity: 1; 591                 opacity: 1;
656                 padding: 0 !important; 592                 padding: 0 !important;
657             } 593             }
658         } 594         }
659         &.sticky-header { 595         &.sticky-header {
660             .drop-menu { 596             .drop-menu {
661                 > a { 597                 > a {
662                     pointer-events: all; 598                     pointer-events: all;
663                 } 599                 }
664                 .nav-sections { 600                 .nav-sections {
665                     visibility: hidden; 601                     visibility: hidden;
666                     opacity: 0; 602                     opacity: 0;
667                         
668                     &.visible { 603                     &.visible {
669                         visibility: visible; 604                         visibility: visible;
670                         opacity: 1; 605                         opacity: 1;
671                     } 606                     }
672                 } 607                 }
673             } 608             }
674         } 609         }
675     } 610     }
676     .page-main { 611     .page-main {
677         > .page-title-wrapper { 612         > .page-title-wrapper {
678             .page-title { 613             .page-title {
679                 display: inline-block; 614                 display: inline-block;
680             } 615             }
681             .page-title + .action { 616             .page-title + .action {
682                 float: right; 617                 float: right;
683                 margin-top: @indent__base; 618                 margin-top: @indent__base;
684             } 619             }
685         } 620         }
686     } 621     }
687  622 
688     .customer-welcome {    
689         .lib-dropdown(    
690             @_toggle-selector: ~".action.switch",    
691             @_options-selector: ~"ul",    
692             @_dropdown-actions-padding: 0,    
693             @_dropdown-list-item-padding: 0,    
694             @_dropdown-toggle-icon-content: @icon-down,    
695             @_dropdown-toggle-active-icon-content: @icon-up,    
696             @_icon-font-text-hide: true,    
697             @_icon-font-margin: 0 0 0 5px,    
698             @_icon-font-size: 16px,    
699             @_icon-font-line-height: 15px,    
700             @_dropdown-list-border: 0,    
701             @_dropdown-list-z-index: @customer-welcome__z-index    
702         );    
703         li:extend(.switcher li all) {    
704             a {    
705                 .lib-link(    
706                 @_link-color: @color-gray20,    
707                 @_link-text-decoration: none,    
708                 @_link-color-visited: @color-gray20,    
709                 @_link-text-decoration-visited: none,    
710                 @_link-color-hover: @color-gray20,    
711                 @_link-text-decoration-hover: none,    
712                 @_link-color-active: @color-gray20,    
713                 @_link-text-decoration-active: none    
714                 );    
715                 display: block;    
716                 line-height: 1.4;    
717                 padding: 8px;    
718             }    
719         }    
720         .customer-menu {    
721             display: none;    
722         }    
723         .action.switch {    
724             .lib-button-reset();    
725             vertical-align: top;    
726         }    
727         .header.links {    
728             min-width: 175px;    
729             box-shadow: 0 0 3px rgba(0,0,0,0.25);    
730             border-radius: 3px;    
731             margin-top: 7px;    
732             left: auto;    
733             right: 0;    
734             &:before {    
735                 left: auto;    
736                 right: 10px;    
737             }    
738             &:after {    
739                 left: auto;    
740                 right: 9px;    
741                 border-bottom-color: #ccc;    
742             }    
743         }    
744         &.active {    
745             .action.switch {    
746                 .lib-icon-font-symbol(    
747                 @_icon-font-content: @icon-up,    
748                 @_icon-font-position: after    
749                 );    
750             }    
751             .customer-menu {    
752                 display: block;    
753             }    
754         }    
755         .greet {    
756             display: none;    
757         }    
758     }    
759     
760     .header { 623     .header {
761         &.panel { 624         &.panel {
762             > .header.links { 625             > .header.links {
763                 .lib-list-inline(); 626                 .lib-list-inline();
764                 float: right; 627                 float: right;
765                 margin-left: auto; 628                 margin-left: auto;
766                 > li { 629                 > li {
767                     margin-bottom: 0; 630                     margin-bottom: 0;
768                     &.welcome, 631                     &.welcome,
769                     > a { 632                     > a {
770                         display: inline-block; 633                         display: inline-block;
771                         line-height: 1.4;    
772                     }    
773                     > a, > span {    
774                         padding: 0 15px;    
775                         border-left: 1px solid #ccc;    
776                     } 634                     }
777                     &:last-child {    
778                         > a, > span { 635                     > a, > span {
779                             padding-right: 0; 636                         border-left: 1px solid rgba(255,255,255,0.18);
780                         }    
781                     } 637                     }
782                     &:first-child { 638                     &:first-child {
783                         > a, > span { 639                         > a, > span {
784                             padding-left: 0; 640                             padding-left: 0;
785                             border-left: 0; 641                             border-left: 0;
786                         } 642                         }
787                     } 643                     }
788                     &.welcome { 644                     &.welcome {
789                         a { 645                         a {
790                             .lib-css(color, @color-white); 646                             .lib-css(color, @color-white);
791                             .lib-css(padding-left, @indent__xs); 647                             .lib-css(padding-left, @indent__xs);
792                         } 648                         }
793                     } 649                     }
794                 } 650                 }
795                 > .customer-welcome + .authorization-link { 651                 > .customer-welcome + .authorization-link {
796                     display: none; 652                     display: none;
797                 } 653                 }
798             } 654             }
799         } 655         }
800         &.content:extend(.abs-add-clearfix-desktop all) {    
801             padding: 0 15px;    
802         }    
803     } 656     }
804  657 
805     .logo { 658     .logo {
806         img { 659         img {
807             max-height: inherit; 660             max-height: inherit;
808         } 661         }
809     } 662     }
810  663 
811     .page-wrapper { 664     .page-wrapper {
812         .lib-vendor-prefix-display(flex); 665         .lib-vendor-prefix-display(flex);
813         .lib-vendor-prefix-flex-direction(column); 666         .lib-vendor-prefix-flex-direction(column);
814         margin: 0; 667         margin: 0;
815         min-height: 100%; // Stretch content area for sticky footer 668         min-height: 100%; // Stretch content area for sticky footer
816         position: relative; 669         position: relative;
817         transition: margin .3s ease-out 0; 670         transition: margin .3s ease-out 0;
818         > .breadcrumbs, 671         > .breadcrumbs,
819         > .top-container, 672         > .top-container,
820         > .widget { 673         > .widget {
821             box-sizing: border-box; 674             box-sizing: border-box;
822             width: 100%; 675             width: 100%;
823         } 676         }
824         .ie10 &, 677         .ie10 &,
825         .ie11 & { 678         .ie11 & {
826             height: 100%; 679             height: 100%;
827         } 680         }
828     } 681     }
829 } 682 }
830  683 
831 .media-width(@extremum, @break) when (@extremum = 'min') and (@break = @screen__xl) {    
832     body {    
833         &.layout-fullwidth {    
834             .navigation, .header.content, .top-container, .page-wrapper > .breadcrumbs .items {    
835                 max-width: none;    
836                 padding-left: 20px;    
837                 padding-right: 20px;    
838             }    
839             .page-header .header.panel {    
840                 padding-left: 20px;    
841                 padding-right: 20px;    
842             }    
843             &.catalog-category-view, &.catalog-product-view, &.cms-index-index, &.catalogsearch-result-index {    
844                 .page-main {    
845                     max-width: none;    
846                     padding-left: 20px;    
847                     padding-right: 20px;    
848                 }    
849             }    
850         }    
851     }    
852 }    
853  684 
854 // 685 //
855 //  Common 686 //  Common
856 //  _____________________________________________ 687 //  _____________________________________________
857  688 
858 & when (@media-common = true) { 689 & when (@media-common = true) {
859     .no-display:extend(.abs-no-display all) { 690     .no-display:extend(.abs-no-display all) {
860     } 691     }
861  692 
862     // 693     //
863     //  Calendar 694     //  Calendar
864     //  --------------------------------------------- 695     //  ---------------------------------------------
865  696 
866     .ui-datepicker td { 697     .ui-datepicker td {
867         padding: 0; 698         padding: 0;
868     } 699     }
869  700 
870     .ui-tooltip { 701     .ui-tooltip {
871         border: @tooltip__border-width solid @tooltip__border-color; 702         border: @tooltip__border-width solid @tooltip__border-color;
872         .lib-css(background, @tooltip__background); 703         .lib-css(background, @tooltip__background);
873         padding: 10px; 704         padding: 10px;
874     } 705     }
875     [class^="porto-icon-"]:before, [class*=" porto-icon-"]:before { 706     [class^="porto-icon-"]:before, [class*=" porto-icon-"]:before {
876         font-family: @icon-font-family; 707         font-family: @icon-font-family;
877         font-style: normal; 708         font-style: normal;
878         font-weight: normal; 709         font-weight: normal;
879         speak: none; 710         speak: none;
880  711 
881         display: inline-block; 712         display: inline-block;
882         text-decoration: inherit; 713         text-decoration: inherit;
883         width: 1em; 714         width: 1em;
884         margin-right: .2em; 715         margin-right: .1em;
885         text-align: center; 716         text-align: center;
886         /* opacity: .8; */ 717         /* opacity: .8; */
887  718 
888         /* For safety - reset parent styles, that can break glyph codes*/ 719         /* For safety - reset parent styles, that can break glyph codes*/
889         font-variant: normal; 720         font-variant: normal;
890         text-transform: none; 721         text-transform: none;
891  722 
892         /* fix buttons height, for twitter bootstrap */ 723         /* fix buttons height, for twitter bootstrap */
893         line-height: 1em; 724         line-height: 1em;
894  725 
895         /* Animation center compensation - margins should be symmetric */ 726         /* Animation center compensation - margins should be symmetric */
896         /* remove if not needed */ 727         /* remove if not needed */
897         margin-left: .2em; 728         margin-left: .1em;
898  729 
899         /* you can be more comfortable with increased icons size */ 730         /* you can be more comfortable with increased icons size */
900         /* font-size: 120%; */ 731         /* font-size: 120%; */
901  732 
902         /* Font smoothing. That was taken from TWBS */ 733         /* Font smoothing. That was taken from TWBS */
903         -webkit-font-smoothing: antialiased; 734         -webkit-font-smoothing: antialiased;
904         -moz-osx-font-smoothing: grayscale; 735         -moz-osx-font-smoothing: grayscale;
905  736 
906         /* Uncomment for 3D effect */ 737         /* Uncomment for 3D effect */
907         /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */ 738         /* text-shadow: 1px 1px 1px rgba(127, 127, 127, 0.3); */
908     } 739     }
909     .panel { 740     .panel {
910         -webkit-box-shadow: none; 741         -webkit-box-shadow: none;
911         box-shadow: none; 742         box-shadow: none;
912     } 743     }
913     .recent-posts { 744     .recent-posts {
914         .item { 745         .item {
915             .post-image { 746             .post-image {
916                 border-radius: 5px; 747                 border-radius: 5px;
917                 overflow: hidden; 748                 overflow: hidden;
918                 margin: 0 0 15px 0; 749                 margin: 0 0 15px 0;
919                 padding: 2px; 750                 padding: 2px;
920                 border: 1px solid #e1e1e1; 751                 border: 1px solid #e1e1e1;
921                 background-color: #fff; 752                 background-color: #fff;
922                 min-height: 120px; 753                 min-height: 120px;
923                  754 
924                 img { 755                 img {
925                     border-radius: 4px; 756                     border-radius: 4px;
926                     width: 100%; 757                     width: 100%;
927                 } 758                 }
928             } 759             }
929         } 760         }
930         .post-date { 761         .post-date {
931             float: left; 762             float: left;
932             margin-right: 10px; 763             margin-right: 10px;
933             text-align: center; 764             text-align: center;
934              765 
935             .day { 766             .day {
936                 background-color: #f7f7f7; 767                 background-color: #f7f7f7;
937                 color: @theme-color; 768                 color: @theme-color;
938                 display: block; 769                 display: block;
939                 font-size: 18px; 770                 font-size: 18px;
940                 font-weight: bold; 771                 font-weight: bold;
941                 padding: 8px; 772                 padding: 8px;
942             } 773             }
943             .month { 774             .month {
944                 background-color: @theme-color; 775                 background-color: @theme-color;
945                 border-radius: 0 0 2px 2px; 776                 border-radius: 0 0 2px 2px;
946                 box-shadow: 0 -1px 0 0 rgba(0,0,0,.07) inset; 777                 box-shadow: 0 -1px 0 0 rgba(0,0,0,.07) inset;
947                 color: #fff; 778                 color: #fff;
948                 font-size: 0.9em; 779                 font-size: 0.9em;
949                 padding: 2px 0; 780                 padding: 2px 0;
950                 display: block; 781                 display: block;
951                 width: 45px; 782                 width: 45px;
952             } 783             }
953         } 784         }
954         .postTitle { 785         .postTitle {
955             min-height: 55px; 786             min-height: 55px;
956             border: 0; 787             border: 0;
957  788 
958             h2 { 789             h2 {
959                 font-size: 20px; 790                 font-size: 20px;
960                 line-height: 27px; 791                 line-height: 27px;
961                 font-weight: normal; 792                 font-weight: normal;
962                 padding: 0; 793                 padding: 0;
963                 margin: 0 0 10px 0; 794                 margin: 0 0 10px 0;
964             } 795             }
965             a:hover { 796             a:hover {
966                 text-decoration: none; 797                 text-decoration: none;
967             } 798             }
968         } 799         }
969         .postContent { 800         .postContent {
970             font-size: 14px; 801             font-size: 14px;
971             line-height: 1.5; 802             line-height: 1.5;
972             padding-bottom: 0; 803             padding-bottom: 0;
973             overflow: hidden; 804             overflow: hidden;
974             text-overflow: ellipsis; 805             text-overflow: ellipsis;
975             display: -webkit-box; 806             display: -webkit-box;
976             -webkit-line-clamp: 3; 807             -webkit-line-clamp: 3;
977             -webkit-box-orient: vertical; 808             -webkit-box-orient: vertical;
978             margin-bottom: 15px; 809             margin-bottom: 15px;
979  810 
980             & > p { 811             & > p {
981                 margin: 0; 812                 margin: 0;
982             } 813             }
983         } 814         }
984         a.readmore { 815         a.readmore {
985             font-weight: 300; 816             font-weight: 300;
986             font-size: 16px; 817             font-size: 16px;
987         } 818         }
988     } 819     }
989 } 820 }